package com.sgdh.quote.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.Data;

@Configuration
@PropertySource("classpath:application.yml")
@ConfigurationProperties(prefix = "terminal")
@Data
public class Terminal {
	
	@Value("${ip}")
	public String ip;
	
	@Value("${port}")
	public int port;

}
